package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Actor entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Actor implements java.io.Serializable {

	// Fields

	private Integer actorId;
	private String actorType;
	private String actorDes;
	private Integer power;
	private Set persions = new HashSet(0);
	private Set actormodules = new HashSet(0);

	// Constructors

	/** default constructor */
	public Actor() {
	}

	/** minimal constructor */
	public Actor(Integer power) {
		this.power = power;
	}

	/** full constructor */
	public Actor(String actorType, String actorDes, Integer power,
			Set persions, Set actormodules) {
		this.actorType = actorType;
		this.actorDes = actorDes;
		this.power = power;
		this.persions = persions;
		this.actormodules = actormodules;
	}

	// Property accessors

	public Integer getActorId() {
		return this.actorId;
	}

	public void setActorId(Integer actorId) {
		this.actorId = actorId;
	}

	public String getActorType() {
		return this.actorType;
	}

	public void setActorType(String actorType) {
		this.actorType = actorType;
	}

	public String getActorDes() {
		return this.actorDes;
	}

	public void setActorDes(String actorDes) {
		this.actorDes = actorDes;
	}

	public Integer getPower() {
		return this.power;
	}

	public void setPower(Integer power) {
		this.power = power;
	}

	public Set getPersions() {
		return this.persions;
	}

	public void setPersions(Set persions) {
		this.persions = persions;
	}

	public Set getActormodules() {
		return this.actormodules;
	}

	public void setActormodules(Set actormodules) {
		this.actormodules = actormodules;
	}

}